package com.kittlen.managementSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    public Admin(String adminId) {
        this.adminId = adminId;
    }

    public Admin() {
    }

    /**
     * 管理员ID
     */
    @TableId(value = "admin_id", type = IdType.INPUT)
    private String adminId;

    /**
     * 用户名
     */
    private String fullname;

    /**
     * 密码
     */
    private String pwd;


}
